home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / wb / czesc_2 / memmometer / src / minrexx.h < prev    next >
C/C++ Source or Header  |  1992-11-06  |  2KB  |  48 lines

  1. /* : ai=0 bk=0 ts=8 */
  2. /*
  3.  *   This is mm.h for version 0.4.AZ ( Modified, from the original version,
  4.  *   Radical Eye Software version 0.4 released by Tom Rokicki, found in
  5.  *   Fred Fish Amiga freely distributable software library AmigaLibDisk173 )
  6.  *   Following are Includes for minrexx.c; please refer to that file for
  7.  *   further documentation.  This version is compatible with the Manx Aztec
  8.  *   C compiler for the Amiga computer.
  9.  */
  10. #include <clib/all_protos.h>
  11. #include <string.h>
  12. #include <rexx/rxslib.h>
  13. #include <rexx/errors.h>
  14. #include <rexx/rexxio.h>
  15. #include <rexx/storage.h>
  16. #include <clib/rexxsyslib_protos.h>
  17. #include <pragmas/rexxsyslib_lib.h>
  18. /*
  19.  *   This is the list of functions we can access.  (Cheap forward
  20.  *   declarations, too.)
  21.  */
  22. long upRexxPort(char *, struct rexxCommandList *, char *,
  23.            void (*)(struct RexxMsg *, struct rexxCommandList *, char *)) ;
  24. void dnRexxPort(void) ;
  25. void dispRexxPort(void) ;
  26. struct RexxMsg *sendRexxCmd(char *, void (*)(struct RexxMsg *),
  27.            STRPTR, STRPTR, STRPTR) ;
  28. struct RexxMsg *syncRexxCmd(char *, struct RexxMsg *msg) ;
  29. struct RexxMsg *asyncRexxCmd(char *) ;
  30. void replyRexxCmd(struct RexxMsg *, long, long, char *) ;
  31. void DontReply(void) ;
  32. /*
  33.  *   Maximum messages that can be pending, and the return codes
  34.  *   for two bad situations.
  35.  */
  36. #define MAXRXOUTSTANDING (300)
  37. #define RXERRORIMGONE (100)
  38. #define RXERRORNOCMD (30)
  39. /*
  40.  *   This is the association list you build up (statically or
  41.  *   dynamically) that should be terminated with an entry with
  42.  *   NULL for the name . . .
  43.  */
  44. struct rexxCommandList {
  45.    char *name ;
  46.    void (*userdata)(struct RexxMsg *, char *) ;
  47. } ;
  48.